package com.sanron.sunweather.entity;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;

/**
 * 天气数据
 * @author Administrator
 *
 */
public class WeatherData {
	private String city;
	private Calendar updateTime;//更新时间
	private InstantWeather instantWeather;
	private AirEnvironment airEnvironment;
	private Warning warning;
	private List<Weather> weathers;
	private List<List<LifeIndex>> lifeIndexs;
	
	public WeatherData(){
		setWeathers(new ArrayList<Weather>());
		lifeIndexs = new ArrayList<List<LifeIndex>>();
	}
	
	public InstantWeather getInstantWeather() {
		return instantWeather;
	}
	public void setInstantWeather(InstantWeather instantWeather) {
		this.instantWeather = instantWeather;
	}
	public AirEnvironment getAirEnvironment() {
		return airEnvironment;
	}
	public void setAirEnvironment(AirEnvironment airEnvironment) {
		this.airEnvironment = airEnvironment;
	}
	public List<List<LifeIndex>> getLifeIndexs() {
		return lifeIndexs;
	}
	public void setLifeIndexs(List<List<LifeIndex>> lifeIndexs) {
		this.lifeIndexs = lifeIndexs;
	}
	public Calendar getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Calendar updateTime) {
		this.updateTime = updateTime;
	}
	public Warning getWarning() {
		return warning;
	}
	public void setWarning(Warning warning) {
		this.warning = warning;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}

	public List<Weather> getWeathers() {
		return weathers;
	}

	public void setWeathers(List<Weather> weathers) {
		this.weathers = weathers;
	}
}
